package com.hui.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 返回用户信息到前端
 */
@ApiModel(
        value = "UserQueryVo对象",
        description = "用户信息返回"
)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EshopUserVo {


    @ApiModelProperty("用户id")
    private Long uid;
    @ApiModelProperty("用户账户(跟accout一样)")
    private String username;
    @ApiModelProperty("用户账号")
    private String account;
    @ApiModelProperty("优惠券数量")
    private Integer couponCount = 0;
    @ApiModelProperty("订单详情数据")
    private UserOrderCountVo orderStatusNum;
    private Integer statu; //好像没啥用
    @ApiModelProperty("总的签到天数")
    private Integer sumSignDay;
    @ApiModelProperty("当天是否签到")
    private Boolean isDaySign;
    @ApiModelProperty("昨天是否签到")
    private Boolean isYesterDaySign;
    @ApiModelProperty("核销权限")
    private Boolean checkStatus;
    @ApiModelProperty("真实姓名")
    private String realName;
    @ApiModelProperty("生日")
    private String birthday;
    @ApiModelProperty("身份证号码")
    @JsonIgnore
    private String cardId;
    @ApiModelProperty("用户备注")
    private String mark;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("手机号码")
    private String phone;
    @ApiModelProperty("添加ip")
    private String addIp;
    @ApiModelProperty("最后一次登录ip")
    private String lastIp;
    @ApiModelProperty("用户余额")
    private BigDecimal nowMoney;
    @ApiModelProperty("佣金金额")
    private BigDecimal brokeragePrice;
    @ApiModelProperty("用户剩余积分")
    private BigDecimal integral;
    @ApiModelProperty("连续签到天数")
    private Integer signNum;
    @ApiModelProperty("1为正常，0为禁止")
    private Boolean status;
    @ApiModelProperty("等级")
    private Integer level;
    @ApiModelProperty("推广元id")
    private Long spreadUid;
    @ApiModelProperty("用户类型")
    private String userType;
    @ApiModelProperty("是否为推广员")
    private Integer isPromoter;
    @ApiModelProperty("用户购买次数")
    private Long payCount;
    @ApiModelProperty("下级人数")
    private Integer spreadCount;
    @ApiModelProperty("详细地址")
    private String addres;
    @ApiModelProperty("管理员编号 ")
    private Integer adminid;
    @ApiModelProperty("用户登陆类型，h5,wechat,routine")
    private String loginType;
    @ApiModelProperty("是否会员")
    private Boolean vip;
    @ApiModelProperty("会员ID")
    private Integer vipId;
    @ApiModelProperty("会员图标")
    private String vipIcon;
    @ApiModelProperty("会员名称")
    private String vipName;

}
